package com.ruoyi.train.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.train.domain.StudentProcessRecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 学员三项岗位进程记录Mapper接口
 * 
 * @author wusihao
 * @date 2023-03-22
 */
@Mapper
public interface StudentProcessRecordMapper extends BaseMapper<StudentProcessRecord>
{
    /**
     * 查询学员三项岗位进程记录
     * 
     * @param id 学员三项岗位进程记录主键
     * @return 学员三项岗位进程记录
     */
    public StudentProcessRecord selectStudentProcessRecordById(Long id);

    /**
     * 查询学员三项岗位进程记录列表
     * 
     * @param studentProcessRecord 学员三项岗位进程记录
     * @return 学员三项岗位进程记录集合
     */
    public List<StudentProcessRecord> selectStudentProcessRecordList(StudentProcessRecord studentProcessRecord);

    /**
     * 新增学员三项岗位进程记录
     * 
     * @param studentProcessRecord 学员三项岗位进程记录
     * @return 结果
     */
    public int insertStudentProcessRecord(StudentProcessRecord studentProcessRecord);

    /**
     * 修改学员三项岗位进程记录
     * 
     * @param studentProcessRecord 学员三项岗位进程记录
     * @return 结果
     */
    public int updateStudentProcessRecord(StudentProcessRecord studentProcessRecord);

    /**
     * 删除学员三项岗位进程记录
     * 
     * @param id 学员三项岗位进程记录主键
     * @return 结果
     */
    public int deleteStudentProcessRecordById(Long id);

    /**
     * 批量删除学员三项岗位进程记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStudentProcessRecordByIds(Long[] ids);
}
